
package com.ny.service.impl;


import com.ny.dao.ManagerDao;
import com.ny.dao.impl.ManagerDaoImpl;
import com.ny.entity.Manager;
import com.ny.service.ManagerService;

public class ManagerServiceImpl implements ManagerService {
    private final ManagerDao managerDao = new ManagerDaoImpl();


    @Override
    public Manager selectManager(String name, String password) throws Exception {
        return managerDao.selectManager(name,password);
    }
}